package com.itheima.service.mongo;

import com.itheima.domain.vo.PageBeanVo;

public interface UserLikeService {

    //保存喜欢
    void saveUserLike(Long loginUserId, Long userLikeId);

    //判断双方是否互为喜欢
    boolean isUserLike(Long loginUserId, Long userLikeId);

    //删除用户的喜欢
    void deleteUserLike(Long loginUserId, Long userDislikeId);

    //查询互相喜欢
    Long findEachLoveCount(Long loginUserId);

    //查询我的喜欢
    Long findLoveCount(Long loginUserId);

    //查询粉丝数量
    Long findFanCount(Long loginUserId);

    //查看    互相喜欢 喜欢 粉丝 谁看过我
    PageBeanVo findUserList(Integer pageNumber, Integer pageSize, Integer type, Long loginUserId);

    //取消喜欢
    void deleteLike(Long loginUserId, Long uid);
}
